<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<title>公众平台管理</title>
<include file="Public:ref" />
<script type="text/javascript" src="__PUBLIC__/js/jquery.table.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/jquery.form.js"></script>

<script type="text/javascript">
	var interval;
	var tablePage;
	$(function() {
		$('#aside_nav ul li a').click(
				function() {
					var url = $(this).attr('url');
					var moudle = $(this).attr('moudle');
					if (url) {
						showLoading('加载中...', '__PUBLIC__/img/loading1.gif');
						$("#main_frame").attr("src",url);
						hideLoading();
						$('#aside_nav ul li a.active').removeClass('active');
						$(this).addClass('active');
					} else {
						var subs = $(this).parent().find('.sub');
						if (subs.size() > 0) {
							var sub = $(subs.get(0));
							if (sub.css('display') == 'none') {
								sub.toggle("blind");
								$(this).find('.right').removeClass("fa-angle-right").addClass("fa-angle-down");
							} else {
								sub.toggle("blind");
								$(this).find('.right').removeClass("fa-angle-down").addClass("fa-angle-right");
							}
						}
					}
				});
		$($('#aside_nav ul li a').get(0)).click();
	});
</script>

</head>
<body>
	<!-- 头部 -->
	<div id="header" class="header" style="">
		<include file="Public:nav" />
	</div>
	<div class="slimScrollDiv" style="width: 250px; height: 100%;">
		<aside id="left_panel" class='sidebar'>

			<nav id="aside_nav">
				<ul>
					<li><a moudle="userList" url="{:U('Rbac/userList')}">用户管理<i
							class="fa fa-angle-right right"></i></a></li>
					<li><a moudle="roleList" url="{:U('Rbac/roleList')}">角色管理<i
							class="fa fa-angle-right right"></i></a></li>
					<li><a moudle="roleList" url="{:U('Rbac/noteList')}">节点管理<i
							class="fa fa-angle-right right"></i></a></li>		
				</ul>
			</nav>
		</aside>
	</div>
	<div id="main_content" style="height: 100%;">
	<iframe id="main_frame" src="{:U('Rbac/userList')}" style="width: 100%;height: 99%; "></iframe>
	</div>
	<!-- 底部 -->
	<div id="footer" class="footer"></div>
	<div id='msgTip' class='alert alert-success'></div>
	<div id='loading' align="center">
		<div class="content" align="center">
			<div class="ball"></div>
			<div class="ball1" style="margin-top: 10px"></div>
		</div>
	</div>
</body>
</html>
